'use strict';
const db = uniCloud.database()
exports.main = async (event, context) => {
	const collection = db.collection("jsonfile_path")
	var index = Math.floor(Math.random() * 9) * 100
	//event为客户端上传的参数
	const res = await collection.orderBy("fileName", "asc").skip(index).get()
	//返回数据给客户端
	return res
};
